//
//  BottomCell.m
//  SUZHOUBANK
//
//  Created by saberLily on 16/4/14.
//  Copyright © 2016年 RuiFeng-WGCC. All rights reserved.
//

#import "BottomCell.h"

@implementation BottomCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addSubview:self.backView];
        [self addSubview:self.titleLabel];
    }
    return self;
}

-(UIImageView *)backView{
    if (!_backView) {
        _backView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 13, 1100, 65)];
        
        _backView.image = [UIImage imageNamed:@"最新公告_题目"];
    }
    return _backView;
}
-(UILabel *)titleLabel{
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 23, 1100, 40)];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.font = [UIFont systemFontOfSize:25];
        _titleLabel.textColor = [UIColor whiteColor];
        _titleLabel.text = @"我我我我哦我我我哇大";
    }
    return _titleLabel;
}
@end
